package com.zl.lib_base.paging

/**
 * @Description: 数据比较类
 * @Author: ZL
 * @CreateDate: 2021/12/4 14:03
 */
interface DifferData {
    fun areItemsTheSame(d: DifferData): Boolean {
        return this == d
    }

    fun areContentsTheSame(d: DifferData): Boolean {
        return this == d
    }

    fun getChangePayload(d: DifferData): Any? {
        return null
    }

}